# Definitional proc to organize widgets for parameters.
proc init_gui { IPINST } {
  ipgui::add_param $IPINST -name "Component_Name"
  #Adding Page
  set Page_0 [ipgui::add_page $IPINST -name "Page 0"]
  ipgui::add_param $IPINST -name "COLUMN_DOWN" -parent ${Page_0}
  ipgui::add_param $IPINST -name "LINE_DOWN" -parent ${Page_0}
  ipgui::add_param $IPINST -name "VIDEO_WIDTH" -parent ${Page_0}
  ipgui::add_param $IPINST -name "VIDEO_HEIGHT" -parent ${Page_0}


}

proc update_PARAM_VALUE.COLUMN_DOWN { PARAM_VALUE.COLUMN_DOWN } {
	# Procedure called to update COLUMN_DOWN when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.COLUMN_DOWN { PARAM_VALUE.COLUMN_DOWN } {
	# Procedure called to validate COLUMN_DOWN
	return true
}

proc update_PARAM_VALUE.FREQ_HZ { PARAM_VALUE.FREQ_HZ } {
	# Procedure called to update FREQ_HZ when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.FREQ_HZ { PARAM_VALUE.FREQ_HZ } {
	# Procedure called to validate FREQ_HZ
	return true
}

proc update_PARAM_VALUE.LINE_DOWN { PARAM_VALUE.LINE_DOWN } {
	# Procedure called to update LINE_DOWN when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.LINE_DOWN { PARAM_VALUE.LINE_DOWN } {
	# Procedure called to validate LINE_DOWN
	return true
}

proc update_PARAM_VALUE.MAXIMUM_DATA_WIDTH { PARAM_VALUE.MAXIMUM_DATA_WIDTH } {
	# Procedure called to update MAXIMUM_DATA_WIDTH when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.MAXIMUM_DATA_WIDTH { PARAM_VALUE.MAXIMUM_DATA_WIDTH } {
	# Procedure called to validate MAXIMUM_DATA_WIDTH
	return true
}

proc update_PARAM_VALUE.SAMPLES_PER_CLOCK { PARAM_VALUE.SAMPLES_PER_CLOCK } {
	# Procedure called to update SAMPLES_PER_CLOCK when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.SAMPLES_PER_CLOCK { PARAM_VALUE.SAMPLES_PER_CLOCK } {
	# Procedure called to validate SAMPLES_PER_CLOCK
	return true
}

proc update_PARAM_VALUE.VIDEO_HEIGHT { PARAM_VALUE.VIDEO_HEIGHT } {
	# Procedure called to update VIDEO_HEIGHT when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.VIDEO_HEIGHT { PARAM_VALUE.VIDEO_HEIGHT } {
	# Procedure called to validate VIDEO_HEIGHT
	return true
}

proc update_PARAM_VALUE.VIDEO_WIDTH { PARAM_VALUE.VIDEO_WIDTH } {
	# Procedure called to update VIDEO_WIDTH when any of the dependent parameters in the arguments change
}

proc validate_PARAM_VALUE.VIDEO_WIDTH { PARAM_VALUE.VIDEO_WIDTH } {
	# Procedure called to validate VIDEO_WIDTH
	return true
}


proc update_MODELPARAM_VALUE.COLUMN_DOWN { MODELPARAM_VALUE.COLUMN_DOWN PARAM_VALUE.COLUMN_DOWN } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.COLUMN_DOWN}] ${MODELPARAM_VALUE.COLUMN_DOWN}
}

proc update_MODELPARAM_VALUE.LINE_DOWN { MODELPARAM_VALUE.LINE_DOWN PARAM_VALUE.LINE_DOWN } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.LINE_DOWN}] ${MODELPARAM_VALUE.LINE_DOWN}
}

proc update_MODELPARAM_VALUE.SAMPLES_PER_CLOCK { MODELPARAM_VALUE.SAMPLES_PER_CLOCK PARAM_VALUE.SAMPLES_PER_CLOCK } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.SAMPLES_PER_CLOCK}] ${MODELPARAM_VALUE.SAMPLES_PER_CLOCK}
}

proc update_MODELPARAM_VALUE.MAXIMUM_DATA_WIDTH { MODELPARAM_VALUE.MAXIMUM_DATA_WIDTH PARAM_VALUE.MAXIMUM_DATA_WIDTH } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.MAXIMUM_DATA_WIDTH}] ${MODELPARAM_VALUE.MAXIMUM_DATA_WIDTH}
}

proc update_MODELPARAM_VALUE.S_AXIS_BYTES { MODELPARAM_VALUE.S_AXIS_BYTES } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	# WARNING: There is no corresponding user parameter named "S_AXIS_BYTES". Setting updated value from the model parameter.
set_property value 3 ${MODELPARAM_VALUE.S_AXIS_BYTES}
}

proc update_MODELPARAM_VALUE.S_AXIS_WIDTH { MODELPARAM_VALUE.S_AXIS_WIDTH } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	# WARNING: There is no corresponding user parameter named "S_AXIS_WIDTH". Setting updated value from the model parameter.
set_property value 24 ${MODELPARAM_VALUE.S_AXIS_WIDTH}
}

proc update_MODELPARAM_VALUE.M_AXIS_BYTES { MODELPARAM_VALUE.M_AXIS_BYTES } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	# WARNING: There is no corresponding user parameter named "M_AXIS_BYTES". Setting updated value from the model parameter.
set_property value 3 ${MODELPARAM_VALUE.M_AXIS_BYTES}
}

proc update_MODELPARAM_VALUE.M_AXIS_WIDTH { MODELPARAM_VALUE.M_AXIS_WIDTH } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	# WARNING: There is no corresponding user parameter named "M_AXIS_WIDTH". Setting updated value from the model parameter.
set_property value 24 ${MODELPARAM_VALUE.M_AXIS_WIDTH}
}

proc update_MODELPARAM_VALUE.FREQ_HZ { MODELPARAM_VALUE.FREQ_HZ PARAM_VALUE.FREQ_HZ } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.FREQ_HZ}] ${MODELPARAM_VALUE.FREQ_HZ}
}

proc update_MODELPARAM_VALUE.VIDEO_WIDTH { MODELPARAM_VALUE.VIDEO_WIDTH PARAM_VALUE.VIDEO_WIDTH } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.VIDEO_WIDTH}] ${MODELPARAM_VALUE.VIDEO_WIDTH}
}

proc update_MODELPARAM_VALUE.VIDEO_HEIGHT { MODELPARAM_VALUE.VIDEO_HEIGHT PARAM_VALUE.VIDEO_HEIGHT } {
	# Procedure called to set VHDL generic/Verilog parameter value(s) based on TCL parameter value
	set_property value [get_property value ${PARAM_VALUE.VIDEO_HEIGHT}] ${MODELPARAM_VALUE.VIDEO_HEIGHT}
}

